package com.ruoyi.tb.lmt.mapper;

import com.ruoyi.tb.lmt.domain.TbMutualInspection;
import com.ruoyi.tb.lmt.domain.vo.TbMutualInspectionVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 互检主表Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-04
 */
@Mapper
public interface TbMutualInspectionMapper extends BaseMapperPlus<TbMutualInspectionMapper, TbMutualInspection, TbMutualInspectionVo> {

    List<TbMutualInspectionVo> selectByMutual(@Param("id") String id,@Param("lmtType") String lmtType,@Param("lmtNumber") String lmtNumber,@Param("status") String status,@Param("repairChar") String repairChar,@Param("planName") String planName,@Param("workGroup") String workGroup,@Param("workUser") String workUser);

    boolean checkIfExist(Long lmtRepairId);

}
